package com.scott.decorator.special.children;

import com.scott.decorator.common.father.MianTiao;
import com.scott.decorator.special.father.TeshuMianTiao;

public class AddNiuRou extends TeshuMianTiao {

	public AddNiuRou(MianTiao miantiao) {
		super(miantiao);
	}

	@Override
	public String getName() {
		return miantiao.getName() + " + 牛肉";
	}

	@Override
	public int getPrice() {
		return miantiao.getPrice() + 3;
	}

}
